package com.wuchao.service.serviceimpl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.wuchao.entity.Mptime;
import com.wuchao.mapper.MptimeMapper;
import com.wuchao.service.MptimeService;

/**
 * @Author wuchao66
 * @Date 2023/9/19 16:03
 * @PackageName:com.wuchao.service.serviceimpl
 * @ClassName: MptimeServiceImpl
 * @Description: TODO
 * @Param
 * @Version 1.0
 */
@Service
public class MptimeServiceImpl implements MptimeService {

    @Resource
    private MptimeMapper mptimeMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return mptimeMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Mptime record) {
        return mptimeMapper.insert(record);
    }

    @Override
    public int insertSelective(Mptime record) {
        return mptimeMapper.insertSelective(record);
    }

    @Override
    public Mptime selectByPrimaryKey(Integer id) {
        return mptimeMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Mptime record) {
        return mptimeMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Mptime record) {
        return mptimeMapper.updateByPrimaryKey(record);
    }

}

